#include <iostream>
#include <string>
using namespace std;

int main2()
{
	int Num[] = { 1,2,3,4,5,6,7,8,9,10 };
	int n = sizeof(Num) / sizeof(Num[0]);
	for (int i = 0; i < n - 1; i++)
	{
		for (int j = i + 1; j < n; j++)
		{
			if (Num[i]<Num[j])
			{
				int temp = Num[j];
				Num[j] = Num[i];
				Num[i] = temp;
			}
		}
	}
	for (int i = 0; i < n; i++)
	{
		cout << Num[i] << " ";
	}

	return 0;

}
